<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="header.jsp" %>
</head>
<body>
<c:if test="${empty message}">
<div id="progressbar" data-options="value:${percent }" class="easyui-progressbar" style="width:300px;margin:20px auto;"></div>
<script>
var percent = ${percent };
var task;
//当进度小于100%时，启动一个轮讯进度条。
if(percent<100){
	var path = '${path }';
	task = setInterval("updateUnZip(path,task)",100);
}
</script>
</c:if>
<c:if test="${not empty message}">
<div style="width:378px;word-break:break-all;padding:4px;line-height:1.5;">${message }</div>
</c:if>
</body>
</html>